#ifndef __RECEIVER_SERVICE_H_
#define __RECEIVER_SERVICE_H_

#define CLASS_RVRCONF "Receiver Configurations"
#define SUPPORT_RVRS_NUM 4

typedef enum
{
	RVR_TOKEN = 0,
	RVR_MODE,
	RVR_MEDIAURI,
	RVR_STREAMSETUP,
	RVR_ANYSIZE,
	RVR_ANY,
	RVR_ANYARRT,

	RVR_MAX_POS
}RVR_CONFIG_POS;
static int receiver_config_num = 1;
static char *receiver_configurations[SUPPORT_RVRS_NUM][RVR_MAX_POS];
#if 0
= {
	{
		"receiver_1", //token
		"0", //ReceiverMode: AutoConnect - 0, AlwaysConnect - 1,Never - 2
		"rtsp://192.168.0.141/param.mp4",//mediauri
		"0;0;", //stream setup: type(RTP_Unicast,RTP_Multicast);Transport Proto:UDP-0,TCP-1,RTSP-2,HTTP-3
		"0",//any size
		NULL,//any
		NULL //any attribute
	}
};
#endif 

// runtime information, map to receiver_configurations array 
static int receiver_stat_info[SUPPORT_RVRS_NUM][2] = 
{
	{0, 0}    //state:0-NotConnected,1-Connecting,2-Connected,3-Unknown; AutoCreated:0-False,1-True.
};

#endif

